.search-content {
  margin: 0 auto;
  margin-top: 1.2rem;
}

.search-content-top {
  width: 149.2rem;
  margin: 0 auto;
}

.breadcrumb-link {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.dm-border-line {
  border-right: 0.1rem solid #3c3c3c66;
  height: 1.1rem;
}

.breadcrumb-item > a {
  font-size: var(--dm-font-body-text);
  font-weight: var(--dm-font-body-weight);
  line-height: var(--dm-font-body-line);
}

/* 灰色 */
.breadcrumb-item a.inactive {
  color: #3c3c3c66 !important;
}

/* 高亮 */
.breadcrumb-item a.active {
  color: var(--dm-color-primary) !important;
}

.search-top-content {
  width: 89.6rem;
  height: 13.2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: space-between;
}

.search-title {
  text-align: center;
  color: var(--dm-gray-500);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-h1-size);
  font-weight: var(--dm-font-h1-weight);
}

.search-top-content input {
  padding-right: 6rem;
  padding-left: 2rem;
  font-size: var(--dm-font-h3-size);
  height: 6.6rem;
  border-radius: 0.8rem;
  width: 100%;
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
  border: 0.1rem solid var(--dm-color-subtext);
}

.search-icon {
  position: absolute;
  top: 75%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  pointer-events: none;
  right: 2.1rem;
}

.search-tabs {
  /* position: relative; */
  width: 133.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* height: 2.5rem; */
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 auto;
  cursor: pointer;
}

.tabs-text {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.tabs-text.active {
  font-weight: bold;
  border-bottom: 0.3rem solid #15141c;
}

.tabs-text.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--dm-color-gb); /* 横线颜色 */
}

.tabs-text.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--dm-color-gb); /* 横线颜色 */
}

.underline {
  position: absolute;

  /* bottom: -3rem; */
  height: 2px;
  background: var(--dm-color-gb);
  transition: all 0.3s ease;
  left: 0;
  top: 0; /* 初始位置用 transform 控制 */
  transform: translate3d(0, 0, 0);
  pointer-events: none; /* 避免阻塞点击 */
}

.search-content-body {
  background-color: #ccb5900f;
  padding: 0 21rem;
  display: inline-block;
  width: 100%;
  padding-bottom: 9.6rem;
}

.products-result {
  color: var(--dm-gray-500);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-h2-size);
  font-weight: var(--dm-font-h2-weight);
  margin: 4.5rem 0;
}

.products-content {
  display: none;
}

.products-content.active {
  display: block;
}

.products-content-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 每行 3 个 */
  gap: 4.1rem; /* 元素之间的间距 */
  margin-bottom: 9.6rem;
}

/* 内容区域一行展示3个 */

/* 子项：占据 1 格 */
.products-content-item {
  height: 71.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2.1rem;

  /* 不需要写 width: 31.7% 了，grid 会自动分配 */
}

.products-img {
  width: 47rem;
  height: 47rem;
  position: relative;
}

.products-img > img {
  width: 47rem;
  height: 47rem;
}

.products-myLick {
  position: absolute;
  background-color: var(--dm-gray-200);
  height: 3rem;
  border-radius: 50%;
  top: 1.6rem;
  right: 1.4rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
}

/* products-myLick 点击后背景变色 */
.products-myLick.active {
  background-color: var(--dm-color-primary);
}

/* 图片移入放大 移出缓慢 */
.products-img:hover {
  /* transform: scale(1.1);
  transform-origin: center; */

  /* transition: all 0.5s ease; */
  cursor: pointer;
  z-index: 1;
}

.products-title {
  color: var(--dm-gray-500);
  font-size: var(--dm-font-h3-size);
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  cursor: pointer;
}

.products-title:hover {
  text-decoration: underline;
  color: var(--dm-color-primary);
  cursor: pointer;
}

.products-desc {
  color: var(--dm-gray-400);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body-weight);
}

.search-content .products-btn {
  width: 25.9rem;
  height: 4.2rem;
  display: flex;
  border-radius: 0.4rem;
  border: 0.1rem solid var(--dm-color-primary);
}

.search-content .products-btn > button {
  padding: 1rem 1.7rem 0.9rem;
  flex: 1;
  font-family: var(--dm-font-family-base);
  color: var(--dm-color-primary);
  border-radius: 0.4rem;
  line-height: var(--dm-font-body1-size);
  font-weight: var(--dm-font-h2-weight);
  font-size: var(--dm-font-body1-size);
}

.inquiry {
  color: var(--dm-color-white) !important;
  background-color: var(--dm-color-primary);
}

.page-products {
  display: flex;
  width: 19.8rem;
  height: 2rem;
  justify-content: space-between;
  margin: 0 auto;
  gap: 1.8rem;
}

.page-btn {
  /* width: 2rem; */
  height: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.page-numbers {
  display: flex;
  color: #333;
  font-size: var(--dm-font-body1-size);
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-body-weight);
  gap: 1.8rem;
}

.page-number {
  width: 1rem;
  height: 1.8rem;
}

.page-numbers button {
  /* 没有背景颜色 */
  background-color: transparent;
}

/* .pagination button.active {
  background: #333;
  color: #fff;
  font-weight: bold;
} */

.page-products .active {
  color: var(--dm-color-primary);
}

.categories-content-item {
  height: 52.1rem;
}

.categories-img {
  width: 47rem;
  margin-bottom: 2.1rem;
  height: 47rem;
}

.blogs-content-item {
  width: 48.2rem;
  height: 65.8rem;
}

.blogs-img {
  width: 48.2rem;
  height: 32.2rem;
}

.blogs-content-body {
  padding: 3rem 2.2rem 1.8rem;
  box-sizing: border-box;
  height: 33.6rem;
  display: flex;
  flex-direction: column;
  background-color: var(--dm-color-white);
  justify-content: space-between;
}

.blogs-copy-area {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.blogs-more {
  width: 12.7rem;
  height: 4.2rem;
  border: 0.1rem solid var(--dm-color-primary);
  border-radius: 0.4rem;
  color: var(--dm-color-primary);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-h2-weight);
}

.blogs-more:hover {
  background-color: var(--dm-color-primary);
  color: var(--dm-color-white);
}

.blogs-read {
  color: var(--dm-color-subtext);
  font-size: var(--dm-font-body-text);
  font-weight: var(--dm-font-body-weight);
  display: flex;
  justify-content: space-between;
}

.blogs-info svg {
  width: 1.6rem;
  height: 1.6rem;
}

.blogs-info {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.app-content {
  width: 47.4rem;
  height: 68.7rem;
}

.app-img {
  height: 62.7rem;
  margin-bottom: 3rem;
}

.documents-content-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.documents-content-list {
  height: 8.8rem;
  border-bottom: 0.1rem solid var(--dm-color-primary);
}

.documents-content-item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.documents-content-item > svg {
  width: 1.8rem;
  height: 1.8rem;
}

.documents-operation {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.operation-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--dm-color-primary);
  font-weight: var(--dm-font-body2-weight);
  font-size: var(--dm-font-body1-size);
  cursor: pointer;
}

.operation-info svg {
  height: 1.4rem;
  width: 1.4rem;
}

.no-data-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-text-top {
  width: 88.7rem;
  height: 31.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-info svg {
  /* width: 11.2rem;
  height: 11.2rem; */
  margin-bottom: 1.8rem;
  animation: spin 3s linear infinite; /* 无限旋转 */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.loading-info p {
  color: var(--dm-gray-400);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body-weight);
}

.not-title {
  color: var(--dm-color-dark);
  font-size: 2.2rem;
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  height: 4.3rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
}

.not-spec {
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body-weight);
  color: #373737;
  line-height: 2.8rem;
  text-align: center;
}

/* 联系我们 */
.error-contact-content {
  width: 73.4rem;
  height: 45.5rem;
  margin: 4.2rem auto;
}

.error-contact-content .error-contact-title {
  font-family: Quicksand;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 100%;
}

.error-contact-content .form-content .form-item {
  /* margin-bottom: 2.7rem; */
  width: calc(50% - 5rem);
  display: flex;
  flex-direction: column;
}

.error-contact-content .form-content .error-message {
  font-size: var(--dm-font-body1-size);
  color: var(--dm-color-warning);
  height: var(--dm-font-h2-size);
  font-family: Quicksand;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease; /* 动画时长可调 */
}

.error-contact-content .form-content .error-message.show {
  visibility: visible;
  opacity: 1;
}

.error-contact-content .form-content .form-item .form-check {
  color: #9d9d9c;
  display: flex;
  align-items: center;
  font-size: var(--dm-font-body1-size);
  font-weight: 400;
}

.error-contact-content .form-content .form-item .form-check input {
  margin-bottom: 0;
}

.error-contact-content .form-content {
  margin: 4.2rem 0;
  width: 73.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.error-contact-content .form-content .form-item-label {
  font-family: Quicksand;
  font-weight: 400;
  font-size: var(--dm-font-body1-size);
  color: var(--dm-color-dark);
  margin-bottom: 0.1rem 0.3rem;
}

.error-contact-content .form-content .form-item input,
.error-contact-content .form-content .form-item select {
  border-bottom: 1px solid var(--dm-gray-500);
  outline: none;
  height: 2.7rem;
  font-family: Quicksand;
  font-style: normal;
  font-weight: 400;
  font-size: var(--dm-font-body1-size);
}

.error-contact-content .form-content .form-item input:focus {
  border-bottom: 1px solid var(--dm-color-primary);
}

.error-contact-content .form-content .form-item .select-dropdown > ul {
  overflow-y: visible;
}

.error-contact-content .form-content .form-item .select-dropdown {
  font-family: Roboto;
  font-weight: 400;
  position: relative;
  margin-bottom: 0.3rem;
}

.select-dropdown p {
  height: 2.7rem;
  line-height: 2.7rem;
  border-bottom: 1px solid #868686;
  cursor: pointer;
  font-size: var(--dm-font-body1-size);
}

.select-dropdown ul {
  top: 2.7rem;
  width: 100%;
  background-color: var(--dm-color-white);
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
  position: absolute;
  overflow: auto;
  z-index: 10;
  font-size: var(--dm-font-body1-size);
  max-height: 20rem;
  overflow-y: auto;
  border: 0.3rem solid var(--dm-color-primary);
  border-radius: 0.6rem;
  display: none;
}

.select-dropdown ul li {
  height: var(--dm-font-h1-size);
  line-height: var(--dm-font-h1-size);
  padding: 0 1.25rem;
  color: #000;
  cursor: pointer;
}

.select-dropdown:hover .select-arrows path {
  stroke: var(--dm-color-primary);
}

.select-dropdown:hover p {
  border-bottom: 1px solid var(--dm-color-primary);
}

.select-dropdown .select-arrows {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.select-dropdown ul li:hover {
  background: var(--dm-color-primary);
  color: var(--dm-color-white);
}

.select-dropdown ul li {
  position: relative;
}

.select-dropdown .second-select {
  position: absolute;
  left: 100%;
  top: 0.21rem;
}

.select-dropdown ul li:hover ul {
  display: block;
}

.no-data-form-btn {
  font-weight: 500;
  font-style: medium;
  font-size: var(--dm-font-body1-size);
  leading-trim: none;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  border-radius: var(--dm-border-radius);
  text-decoration: none;
  width: 18.7rem;
  height: 5.6rem;
  color: var(--dm-color-white);
  font-family: Helvetica;
  background: var(--dm-color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.no-data-form-btn:hover {
  background: var(--dm-color-white);
  color: var(--dm-color-primary);
  outline: 1px solid var(--dm-color-primary);
}

@media (width <= 768px) {
  .search-content {
    margin-top: 2.3rem;
    margin-bottom: 14.8rem;
  }

  .search-content-top {
    margin: 0 3.2rem;
    width: 68.8rem;
  }

  .search-top-content {
    width: 68.8rem;
    height: 17.9rem;
    margin-top: 4.2rem;
  }

  .search-top-content input {
    /* color: #24242433; */
    font-size: 2.6rem;
  }

  .search-icon {
    width: 4.4rem;
    height: 4.4rem;
    top: 81%;
  }

  .search-tabs {
    margin-top: 4.2rem;
    width: 69rem;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100%;
  }

  .tabs-text {
    color: var(--dm-gray-500);
    font-size: 3.4rem;
    line-height: 4.2rem;
    flex: 0 0 calc(33.33% - 10px);

    /* margin-bottom: 3rem; */
    padding-top: 4.2rem;
    padding-bottom: 3.8rem;
    font-weight: 400;
    position: relative;
  }

  /* .search-tabs .tabs-text:nth-last-child(-n + 2) {
    margin-top: 3.8rem;
  } */

  /* .search-tabs {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    height: 100%;
    gap: 2rem 6rem;
  }

  .tabs-text {
    padding: 0.5rem 0;
    cursor: pointer;
    position: relative;
  }

  .tabs-text.active {
    color: #000;
    font-weight: 600;
  }

  .underline {
    position: absolute;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
  } */

  .tabs-content .tab-panel {
    display: none;
    padding: 1rem 0;
  }

  .tabs-content .tab-panel.active {
    display: block;
  }

  .search-content-body {
    width: 100%;
    padding: 6rem 3rem;
  }

  .underline {
    position: absolute;
    bottom: 0; /* 固定在容器底部 */
    height: 2px;
    background: var(--dm-color-gb);
    transition: all 0.3s ease;
  }

  .products-result {
    margin-top: 0;
    font-size: 4rem;
  }

  .products-content-list {
    gap: 6.6rem 2rem; /* 2rem 行间距，6rem 列间距 */

    /* 一行两个列 */
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 6.6rem;
  }

  .products-content-item {
    height: 85.2rem;
    gap: 4.2rem;
  }

  .products-img {
    width: 33.4rem;
    height: 33.4rem;
  }

  .products-img > img {
    width: 33.4rem;
    height: 33.4rem;
  }

  .products-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 显示 3 行文字 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 4.2rem; /* 每行高度 */
    height: 12.6rem; /* 3行总高度 */
  }

  .search-content .products-btn {
    width: 33.4rem;
    height: 6.6rem;
  }

  .search-content .products-btn > button {
    font-size: 2.6rem;
    padding: 1.7rem 1.6rem 1.6rem 1.5rem;
  }

  .categories-img {
    width: 33.4rem;
    height: 33.4rem;
    margin-bottom: 3rem;
  }

  .categories-img > img {
    width: 33.4rem;
    height: 33.4rem;
  }

  .products-title {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 显示 3 行文字 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blogs-content-item {
    width: 33.4rem;
    height: auto;
  }

  .blogs-img {
    width: 33.4rem;
    height: 33.4rem;
  }

  .blogs-img img {
    /* 图片不变形 */
    object-fit: cover;
    width: 33.4rem;
    height: 33.4rem;
  }

  .blogs-content-body {
    padding: 1.9rem 1.1rem 1.2rem 1.9rem;
    height: auto;
  }

  .blogs-copy-area {
    gap: 3rem;
    margin-bottom: 4.7rem;
  }

  .blogs-more {
    width: 25.8rem;
    height: 7.6rem;
    font-weight: 700;
  }

  .blogs-info {
    font-size: 2.6rem;
  }

  .blogs-info svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .app-content {
    width: 33.4rem;
    height: auto;
  }

  .app-img {
    width: 33.4rem;
    height: 43.4rem;
  }

  .app-img img {
    object-fit: cover;
    width: 33.4rem;
    height: 43.4rem;
  }

  .documents-content-body {
    gap: 6rem;
    margin-bottom: 12.8rem;
  }

  .documents-content-list {
    height: 19.8rem;
  }

  .documents-content-item {
    align-items: start;
    margin-bottom: 3rem;
  }

  .documents-content-item > svg {
    width: 2.8rem;
    height: 2.8rem;
  }

  .operation-info svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .page-products {
    height: 4.6rem;
  }

  .page-btn {
    height: 4.4rem;
  }

  .page-number {
    width: 1.3rem;
    height: 4.2rem;
  }

  .page-numbers {
    gap: 2.7rem;
  }

  .page-products {
    gap: 2.7rem;
  }

  .loading-text-top {
    width: 68.8rem;
    height: auto;
  }

  .loading-info svg {
    width: 11.2rem;
    height: 11.2rem;
    margin-bottom: 4.2rem;
  }

  .loading-info {
    margin-bottom: 3.2rem;
  }

  .not-title {
    font-size: 4.8rem;
    height: 12rem;
    text-align: center;
    margin-bottom: 4.2rem;
  }

  .not-spec {
    line-height: 4.2rem;
    font-size: 3.4rem;
  }

  .error-contact-content {
    margin-top: 7.5rem;
  }

  .error-contact-content .error-contact-title {
    font-size: 4.8rem;
  }

  .error-contact-content .form-content {
    margin-top: 8.2rem;
    margin-bottom: 7.6rem;
    width: auto;
  }

  .error-contact-content {
    width: auto;
    height: auto;
  }

  .error-contact-content .form-content .form-item {
    width: 100%;
  }

  .not-verify {
    margin-bottom: 5.4rem;
  }

  .error-contact-content .form-content .form-item input {
    height: 5.4rem;
  }

  .select-dropdown p {
    height: 5.4rem;
    line-height: 5.4rem;
  }

  .no-data-form-btn {
    width: 32.9rem;
    height: 9.2rem;
  }

  .select-dropdown ul {
    top: 5.4rem;
  }
}
